package net.xiaohanlin.smartmetric.monitor.system;

import org.hyperic.sigar.Sigar;

import net.xiaohanlin.smartmetric.metricname.MetricNameService;

public abstract class AbstractSystemMetric {

	protected final static Sigar sigar = SigarHolder.instance.getSigar();

	protected String getMetricName(Enum<?> e) {
		return MetricNameService.INSTANCE.getMetricName(e);
	}

}
